home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Macintosh Demo Applications CD
/
Apple-MacintoshDemoApplicationsCD-1.0-1992.iso
/
More Information
/
Personal Press 2.0
/
PPPouch
/
Additions
/
Align Objects
/
Align tops
/
Align tops
next >
Wrap
Text File
|
1992-06-08
|
564b
|
33 lines
on startup
if toolmode = "MainTool" then
if selectedObjects() > 1 then
alignThemObjects
else
answer "Select two or more objects to be aligned."
end if
else
answer "The Arrow tool must be turned on."
end if
end startup
on alignThemObjects
align to objects none top
end alignThemObjects
on help
put dialog (preload, 128) into thedialog
put "---a\0" into item2
put "---a\1" into item3
put "---a\2" into item4
repeat forever
get dialog(display, thedialog)
if (it = 1) then exit repeat
end repeat
get dialog(dispose, thedialog)
end help